package com.wise.site.protocol.action;

import com.wise.site.protocol.base.SoapAction;
import com.wise.site.protocol.result.ModelResult;

/**
 * 动态模块下载action
 * @author huangyue
 *
 * 2012-9-17
 */
public class ModelAction extends SoapAction<ModelResult> {
	public static final String CACHE_KEY = "ModelAction";

	public ModelAction(ACTION_TYPE type, String method) {
		super(type, method);
	}

	@Override
	protected ModelResult parseJson(String response) throws Exception {
		ModelResult result = new ModelResult();
		result.parseData(response);
		
		mCache.put(CACHE_KEY, result, true);
		
		return result;
	}

}
